package day3;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class JavaScore2 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入java成绩：");
        int java=sc.nextInt();
        System.out.println("请输入music成绩：");
        int music=sc.nextInt();
        // ! >&& > ||
        if((java>90&&music>80)||(java==100&&music>70)){
            System.out.println("iphone 40作为奖励");
        }
    }
}
